@extends("h5.layouts.main")
@section('content')
<?php
?>
<div class="divbodyH5 moneyDiv">
    <div id="settingTitle">
        <b>记录</b>
        <a class="back" onclick="MC.back()"> <img src="/h5/images/return.png" id="settingRtn"></a>
    </div>

    <div class="myTable"> 


        <div class="infoDiv">

            <ul class="ul">


            </ul> 

        </div> 

    </div>



</div>
<script>
    //  new MC.Money.jilu();
    var jilu=new MC.Page('.infoDiv','getMoneyJilu',{},function(list){
        console.log(list);
        var html='';
        for(var i=0;i<list.length;i++){
            var obj=list[i];
            html+=' <li class="li">\n' +
                '                        <a href="/h5/my/money/info?out_trade_no='+obj.out_trade_no+'" class="a">\n'+
'                            <div class="pli">\n'+
'                                <span class="label">'+obj.type+':</span>\n'+
'                                <span class="value">¥'+obj.money+'元</span> \n'+
'                                <span class="time">'+obj.time+'</span></span>\n'+
'                            </div>\n'+
'                             \n'+
'                            <div class="pli">\n'+
'                                <span class="status">状态:'+obj.status+'</span>\n'+
'                            </div>\n'+
'                              \n'+
'                        </a>\n'+
'                    </li>';
        }
        jilu.selectBody.find('.ul').append(html);
    });
    jilu.init();
</script>

@stop